import Vue from 'vue'
import App from './App.vue'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import { Button, Select } from 'element-ui';
Vue.use(Button)
Vue.use(Select)
Vue.use(ElementUI);
// import Vuex from 'vuex'
Vue.config.productionTip = false
// Vue.use(Vuex)
// const store = new Vuex.Store({
//   state:{
//     num:1
//   },
//   mutations:{
//     addNum(state,pyload){
//       state.num = state.num+pyload
//     }
//   }
// })
// store.commit("addNum")
// console.log(store.state.num);
new Vue({
  store,
  render: h => h(App),
}).$mount('#app')
